package it.koutifaris.travianmap.dal.sqlservices.tile;

import it.koutifaris.travianmap.dal.sqlservices.MapSqlContract.Villages;

class VillagesOfPlayerQuery {

	static String getVillagesInBoundQuery() {
		String result = VillageQuery.getVillagesBaseQuery() + " AND "
				+ Villages.COLUMN_NAME_OWNER_ID + " = ?";

		return result;
	}

	static String[] getSelectionArgs(long revisionId, long playerId) {
		return new String[] {
				String.valueOf(revisionId),
				String.valueOf(revisionId),
				String.valueOf(revisionId),
				String.valueOf(playerId)
		};

	}

}
